package com.panghu.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.panghu.mapper.AnswerMapper;
import com.panghu.service.AnswerService;
import com.panghu.vo.AnswerVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AnswerServiceImpl implements AnswerService {

    @Resource
    private AnswerMapper answerMapper;

    @Override
    public IPage<AnswerVo> findAll(Page<AnswerVo> page) {
        return answerMapper.findAll(page);
    }
}
